
<style>
    .content {
        background-color: #d2d6de;
    }


    #tables{
        border: 1px solid #333;
        overflow: hidden;
        /*height: 85vh;*/
    }
    #tables > thead > tr > th{
        border: 1px solid #333;
    }
    #tables td, #tables th{
        border: 1px solid #333;
    }

    #tabless{
        border: 1px solid #333;
        overflow: hidden;
        /*height: 85vh;*/
    }
    #tabless > thead > tr > th{
        border: 1px solid #333;
    }
    #tabless td, #tabless th{
        border: 1px solid #333;
    }
    #tablesss{
        border: 1px solid #333;
        overflow: hidden;
        /*height: 85vh;*/
    }
    #tablesss > thead > tr > th{
        border: 1px solid #333;
    }
    #tablesss td, #tablesss th{
        border: 1px solid #333;
    }


</style>
<!--<div class="panel panel-default panel-intro">-->
    <!--<div class="panel-heading">-->
        <!--{:build_heading(null, false)}-->
        <!--&lt;!&ndash;<div class="panel-lead"><em>多表格（Multitable）</em>用于展示在一个页面展示多个表格数据,并且每次切换时刷新</div>&ndash;&gt;-->
        <!--<ul class="nav nav-tabs">-->
            <!--<li class="active"><a href="#detail" data-toggle="tab">基础信息</a></li>-->
            <!--<li ><a href="#ff" data-toggle="tab">健康信息</a></li>-->
            <!--<li><a href="#cc" data-toggle="tab">报告信息</a></li>-->
        <!--</ul>-->
    <!--</div>-->
    <!--<div class="panel-body">-->
        <!--<div id="myTabContent" class="tab-content">-->
            <!--<div class="tab-pane fade active in" id="detail">-->



            <!--</div>-->


            <!--&lt;!&ndash;<div class="tab-pane fade" id="first">&ndash;&gt;-->
                <!--&lt;!&ndash;<div id="toolbar1" class="toolbar">&ndash;&gt;-->
                    <!--&lt;!&ndash;{:build_toolbar('refresh')}&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--&lt;!&ndash;<table id="table1" class="table table-striped table-bordered table-hover" width="100%">&ndash;&gt;-->
                <!--&lt;!&ndash;</table>&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->

            <!--<div class="tab-pane fade" id="ff">-->




                    <!--&lt;!&ndash;<div class="panel panel-default">&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="panel-heading">&ndash;&gt;-->
                                <!--&lt;!&ndash;<a href="#collapse6" data-toggle="collapse"><h4 class="panel-title">第二部分链接</h4></a>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                        <!--&lt;!&ndash;<div id="collapse6" class="panel-collapse collapse" >&ndash;&gt;-->
                            <!--&lt;!&ndash;<div class="panel-body">第二部分内容</div>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                    <!--&lt;!&ndash;</div>&ndash;&gt;-->

                    <!--&lt;!&ndash;<div class="panel panel-default">&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="panel-heading">&ndash;&gt;-->
                                <!--&lt;!&ndash;<a href="#collapse7" data-toggle="collapse"><h4 class="panel-title">第三部分链接</h4></a>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                        <!--&lt;!&ndash;<div id="collapse7" class="panel-collapse collapse" >&ndash;&gt;-->
                            <!--&lt;!&ndash;<div class="panel-body">第三部分内容</div>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                    <!--&lt;!&ndash;</div>&ndash;&gt;-->

                    <!--&lt;!&ndash;<div class="panel panel-default">&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="panel-heading">&ndash;&gt;-->
                                <!--&lt;!&ndash;<a href="#collapse8" data-toggle="collapse"><h4 class="panel-title">第四部分链接</h4></a>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                        <!--&lt;!&ndash;<div id="collapse8" class="panel-collapse collapse" >&ndash;&gt;-->
                            <!--&lt;!&ndash;<div class="panel-body">第四部分内容</div>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                    <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--</div>-->

            <!--</div>-->


            <!--<div class="tab-pane fade" id="cc">-->
               <!--123-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->
<!--</div>-->

<!-- -----------------------------------------------------------------分割-->

<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        {:build_heading(null, false)}
        <ul class="nav nav-tabs">
            <li {if condition="$pan_in == 0"}class="active"{/if}><a href="#one" data-toggle="tab">{:__('基础信息')}</a></li>
            <li><a href="#two" data-toggle="tab">{:__('健康信息')}</a></li>
            <li><a href="#four" data-toggle="tab">{:__('生活信息')}</a></li>
            <li><a href="#there" data-toggle="tab">{:__('报告信息')}</a></li>
            <li {if condition="$pan_in != 0"}class="active"{/if}><a href="#five" data-toggle="tab">{:__('治疗日志')}</a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade {if condition='$pan_in == 0'}active in{/if}" id="one">
                <table class="table table-striped table-adminlog">
                    <thead>
                    <tr>
                        <th width="100" style="color:red">{:__('基础信息')}</th>
                        <!--<th>{:__('Content')}</th>-->
                    </tr>
                    </thead>
                    <tbody>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('头像')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    {if condition="$row.image != '' "}
                                    <img src="{$row.image|htmlentities}" data-tips-image style="width:50px;height: 50px;" alt="头像">
                                    {/if}
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('姓名')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-name" class="form-control" name="row[name]" readonly="readonly" type="text" value="{$row.name|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('联系电话')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-mobile" class="form-control" name="row[mobile]" readonly="readonly" type="text" value="{$row.mobile|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('会员等级')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-vip" class="form-control" name="row[vip]" readonly="readonly" type="text" value="{$vip|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('性别')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-sex" class="form-control" name="row[sex]" readonly="readonly" type="text" value="{$row.sex|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('民族')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-nation" class="form-control" name="row[nation]" readonly="readonly" type="text" value="{$row.nation|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('关系')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-relation" class="form-control" name="row[relation]" readonly="readonly" type="text" value="{$row.relation|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('身份证')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-id_card" class="form-control" name="row[id_card]" readonly="readonly" type="text" value="{$row.id_card|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('国籍')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-nationality" class="form-control" name="row[nationality]" readonly="readonly" type="text" value="{$row.nationality|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('出生年月')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-birthday" class="form-control" name="row[birthday]" readonly="readonly" type="text" value="{$row.birthday|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('年龄')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-age" class="form-control" name="row[age]" readonly="readonly" type="text" value="{$row.age|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('出生地')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-birthplace" class="form-control" name="row[birthplace]" readonly="readonly" type="text" value="{$row.birthplace|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('居住地址')}:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input id="c-address" class="form-control" name="row[address]" readonly="readonly" type="text" value="{$row.address|htmlentities}">
                                </div>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="tab-pane fade" id="two">
                {foreach $arr as $index=>$vo}
                <div class="panel-group" id="accordion1">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <a href="#collapse{$index}" data-toggle="collapse">
                                <h4 class="panel-title">{$vo.code}  &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span>专家:{$vo.medic_name}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span>创建时间:{$vo.create_time}</span></h4>
                            </a>
                        </div>
                        <div id="collapse{$index}" class="panel-collapse collapse">
                            <div class="panel-body">
                                <table class="table table-striped table-adminlog">
                                    <thead>
                                    <tr>
                                        <th width="100" style="color:red">{:__('体格信息')}</th>
                                        <!--<th>{:__('Content')}</th>-->
                                    </tr>
                                    </thead>
                                    <tbody>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('身高')}:{$vo.height}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('体重')}:{$vo.weight}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('血压')}:{$vo.blood_pressure}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('脉搏')}:{$vo.sphygmus}</label>
                                            </div>
                                        </td>
                                    </tr>





                                    </tbody>
                                </table>

                                <table class="table table-striped table-adminlog">
                                    <thead>
                                    <tr>
                                        <th width="100" style="color:red">{:__('病历信息')}</th>
                                        <!--<th>{:__('Content')}</th>-->
                                    </tr>
                                    </thead>
                                    <tbody>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('看诊项目')}:{$vo.disease_name}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('主诉')}:{$vo.appeal}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('现病史')}:{$vo.now}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('既往史')}:{$vo.before}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('体格检查')}:{$vo.physique}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('诊断')}:{$vo.diagnose}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('治疗方案')}:{$vo.treatment}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('远程会诊意见')}:{$vo.remote_views}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('诊后注意事项')}:{$vo.announcements}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('备注')}:{$vo.msg}</label>
                                            </div>
                                        </td>
                                    </tr>


                                    </tbody>
                                </table>


                                <div class="panel-heading">
                                    <h2>诊疗单:</h2>
                                </div>
                                <div class="panel-body">
                                    <table id="tables" class="table table-striped">
                                        <thead>
                                        <tr>
                                            <th width="15%">序号</th>
                                            <th width="17%">诊疗项目</th>
                                            <th width="17%">规格型号</th>
                                            <th width="17%">价格</th>
                                            <th width="17%">数量</th>
                                            <th width="17%">金额</th>
                                        </tr>
                                        </thead>
                                        <tbody>



                                        {foreach vo.diagnosiss as $indexs=>$v}
                                        <tr>
                                            <td>{$indexs+1}</td>
                                            <td>{$v.diagnosis_name}</td>
                                            <td>{$v.specification}</td>
                                            <td>{$v.price}</td>
                                            <td>{$v.count}</td>
                                            <td>{$v.total}</td>
                                        </tr>
                                        {/foreach}


                                        </tbody>
                                    </table>
                                </div>

                                <div class="panel-heading">
                                    <h2>药品单:</h2>
                                </div>
                                <div class="panel-body">

                                    <table id="tabless" class="table table-striped">
                                        <thead>
                                        <tr>
                                            <th width="15%">序号</th>
                                            <th width="17%">药品</th>
                                            <th width="17%">规格型号</th>
                                            <th width="17%">价格</th>
                                            <th width="17%">数量</th>
                                            <th width="17%">总价</th>
                                        </tr>
                                        </thead>
                                        <tbody>



                                        {foreach vo.drug as $indexss=>$vv}
                                        <tr>
                                            <td>{$indexss+1}</td>
                                            <td>{$vv.medicine_name}</td>
                                            <td>{$vv.specification}</td>
                                            <td>{$vv.price}</td>
                                            <td>{$vv.count}</td>
                                            <td>{$vv.total}</td>
                                        </tr>
                                        {/foreach}


                                        </tbody>
                                    </table>

                                </div>

                                <div class="panel-heading">
                                    <h2>客户服务:</h2>
                                </div>
                                <div class="panel-body">

                                    <table id="tablesss" class="table table-striped">
                                        <thead>
                                        <tr>
                                            <th width="15%">序号</th>
                                            <th width="17%">会员服务名称</th>
                                            <th width="17%">数量</th>
                                            <th width="17%">单位</th>
                                            <th width="17%">单价</th>
                                            <th width="17%">总价</th>
                                        </tr>
                                        </thead>
                                        <tbody>



                                        {foreach vo.vip as $inde=>$vvv}
                                        <tr>
                                            <td>{$inde+1}</td>
                                            <td>{$vvv.serve_name}</td>
                                            <td>{$vvv.count}</td>
                                            <td>{$vvv.units}</td>
                                            <td>{$vvv.price}</td>
                                            <td>{$vvv.total}</td>
                                        </tr>
                                        {/foreach}


                                        </tbody>
                                    </table>
                                </div>

                            </div>

                        </div>
                    </div>
                </div>
                {/foreach}
            </div>

            <div class="tab-pane fade" id="four">
                {foreach $rows as $index=>$vo}
                <div class="panel-group">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <a href="#collapse500{$index}" data-toggle="collapse">
                                <h4 class="panel-title">{$vo.code}  &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span>健康顾问:{$vo.salesman_name}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span>创建时间:{$vo.create_time}</span></h4>
                            </a>
                        </div>
                        <div id="collapse500{$index}" class="panel-collapse collapse">
                            <div class="panel-body">
                                <table class="table table-striped table-adminlog">
                                    <thead>
                                    <tr>
                                        <th width="100" style="color:red">{:__('生活信息')}</th>
                                        <!--<th>{:__('Content')}</th>-->
                                    </tr>
                                    </thead>
                                    <tbody>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('吸烟')}:{$vo.smoke}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('饮酒')}:{$vo.drink}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('运动')}:{$vo.sports}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('饮食')}:{$vo.diet}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('睡眠')}:{$vo.sleep}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('小便')}:{$vo.pee}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('大便')}:{$vo.excrement}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('女性月经')}:{$vo.menstruation}</label>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group">
                                                <label class="control-label col-xs-12 col-sm-2">{:__('女性生育')}:{$vo.give_birth}</label>
                                            </div>
                                        </td>
                                    </tr>





                                    </tbody>
                                </table>

                            </div>

                        </div>
                    </div>
                </div>
                {/foreach}
            </div>


            <div class="tab-pane fade" id="there">

                {foreach $data as $index=>$vo}
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <a href="#collapse100{$index}" data-toggle="collapse">
                            <h4 class="panel-title">{$vo.code}  &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span>{$vo.type_name}:{$vo.salesman_name}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span>创建时间:{$vo.create_time}</span></h4>
                        </a>
                    </div>
                    <div id="collapse100{$index}" class="panel-collapse collapse">
                        <div class="panel-body" style="display: flex;">

                            {foreach vo.image as $indexs=>$v}
                            <div class="thumbnail example">
                                <!--<span class="btn btn-<%=label%>">ID:123</span>-->
                                <img src="{$v.image}" data-tips-image style="width:200px;height: 200px;" alt="图片">
                                <div class="caption">
                                    <p class="text-muted">{$v.title}</p>
                                    <p class="text-muted">检查日期:{$v.check_time}</p>
                                </div>
                                
                            </div>
                            {/foreach}

                            </div>



                        <div class="panel-body" style="display: flex;">

                            {foreach vo.video as $indexs=>$v}
                            <div class="thumbnail example">
                                <!--<span class="btn btn-<%=label%>">ID:123</span>-->
                                <!--<img src="{$v.video}" data-tips-image style="width:200px;height: 200px;" alt="图片">-->
                                <a href="{$v.video}" target="_blank">
                                    <img src="/QjaGeuOTbZ.php/ajax/icon?suffix={$v.suffix}" alt="" style="width:200px;height: 200px;">
                                </a>
                                <div class="caption">
                                    <p class="text-muted">{$v.title}</p>
                                    <p class="text-muted">检查日期:{$v.check_time}</p>
                                </div>

                            </div>
                            {/foreach}

                        </div>

                        <div class="panel-body" style="display: flex;">

                            {foreach vo.file as $indexs=>$v}
                            <div class="thumbnail example">
                                <!--<span class="btn btn-<%=label%>">ID:123</span>-->
                                <!--<img src="{$v.file}" data-tips-image style="width:200px;height: 200px;" alt="图片">-->
                                <a href="{$v.file}" target="_blank">
                                    <img src="/QjaGeuOTbZ.php/ajax/icon?suffix={$v.suffix}" alt="" style="width:200px;height: 200px;">
                                </a>
                                <div class="caption">
                                    <p class="text-muted">{$v.title}</p>
                                    <p class="text-muted">检查日期:{$v.check_time}</p>
                                </div>

                            </div>
                            {/foreach}

                        </div>

                        </div>



                    </div>
                {/foreach}
                </div>

            <div class="tab-pane fade {if condition='$pan_in != 0'}active in{/if}" id="five">

                {foreach $log as $index=>$vo}
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <a href="#collapse1000{$index}" data-toggle="collapse">
                            <h4 class="panel-title">{$vo.code}  &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span>{$vo.type_name}:{$vo.names}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span>日期:{$vo.date}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span>创建时间:{$vo.create_time}</span></h4>
                        </a>
                    </div>
                    <div id="collapse1000{$index}" class="panel-collapse collapse">

                        <div class="panel-body">
                            <table class="table table-striped table-adminlog">
                                <thead>
                                <tr>
                                    <!--<th width="100" style="color:red">{:__('生活信息')}</th>-->
                                    <!--<th>{:__('Content')}</th>-->
                                </tr>
                                </thead>
                                <tbody>

                                <tr>
                                    <td>
                                        <div class="form-group">
                                            <label class="control-label col-xs-6 col-sm-1">{:__('日志')}:</label>
                                            <div class="col-xs-6 col-sm-8">
                                                <textarea rows="10" disabled cols="67">{$vo.msg}</textarea>
                                            </div>
                                        </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td>
                                        <div class="form-group">
                                            <label class="control-label col-xs-6 col-sm-1">{:__('文件')}:</label>
                                            <div class="col-xs-6 col-sm-8">
                                                <!--<div class="input-group">-->
                                                <!--</div>-->
                                                {if condition="$vo.image != '' "}
                                                <ul class="row list-inline plupload-preview" id="p-img">
                                                    {foreach $vo.images as $indexs=>$vos}
                                                    <li class="col-xs-3">
                                                        <a href="{$vos.name}" data-url="{$vos.name}" target="_blank" class="thumbnail">
                                                            <img src="{$vos.name}" onerror="this.src='/QjaGeuOTbZ.php/ajax/icon?suffix={$vos.suffix}';this.onerror=null;" class="img-responsive">
                                                        </a>
                                                    </li>
                                                    {/foreach}
                                                </ul>
                                                {/if}

                                            </div>
                                        </div>
                                    </td>
                                </tr>


                                </tbody>
                            </table>

                        </div>

                    </div>



                </div>
                {/foreach}


                {$page}
            </div>

            </div>



            </div>
        </div>
    </div>
</div>

<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
<script src="/assets/img/jquery-3.4.1.min.js"></script>
<script type="text/javascript">
    //手风琴折叠效果
    //$('#collapse5, #collapse6, #collapse7, #collapse8,#collapse').collapse({
    $('#collapse').collapse({
        parent:'#accordion1',
        toggle:false
    })

</script>
